package DiYiZhou;

public class LianXi2 {
    public static void main(String[] args) {
        int a,b,c;
        a=12;
        b=13;
        System.out.println("a和b的加法运算");
        c=a+b;
        System.out.println(a+"+"+b+"="+c);
        System.out.println("good!");
        System.out.println("--------------");
        System.out.println("a和b的减法运算");
        c=a-b;
        System.out.println(a+"-"+b+"="+c);
        System.out.println("good!");
        System.out.println("--------------");
        System.out.println("a和b的乘法运算");
        c=a*b;
        System.out.println(a+"*"+b+"="+c);
        System.out.println("good!");
        System.out.println("--------------");
        float c1;
        System.out.println("a和b的除法运算");
        c1=a*1.0F/b;
        System.out.println(a+"/"+b+"="+c1);
        System.out.println("good!");
        System.out.println("--------------");
    }
}
